import time

from tools.base_page import BasePage


class DataTable(BasePage):
    '''
    验证查询结果是否存在
    '''
    def veify_is_not_query_success(self):
        # 搜索结果中的第一条数据
        search_res_first_data = ('css selector','.ant-table-tbody>tr>td')
        verifu_res = self.is_element(search_res_first_data)
        return verifu_res

